﻿using EasyDDD.AdminModule.Domain.AggregateSysMenu;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace EasyDDD.AdminModule.Host.WebAPI.Controllers.Dto
{
    [AutoMapperFrom(typeof(SysMenu))]
    public record SysMenuCreateResult : Models.SysMenu
    {
        [JsonIgnore]
        public override bool IsDeleted { get; set; }
        [JsonIgnore]
        public override Guid TenantId { get; set; }

        /// <summary>
        /// 排序 放前端转换
        /// </summary>
        //[JsonPropertyName("rank")]
        //public override int Sort { get; set; } = default!;
    }
}
